package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "AccidentRecord", description = "事故记录")
public class AccidentRecord {
    @ApiModelProperty(value = "[主键]自动增长")
    private int id;
    @ApiModelProperty(value = "车辆")
    private Car car;
    @ApiModelProperty(value = "驾驶员")
    private Driver driver;
    @ApiModelProperty(value = "事故日期")
    private Date accDate;
    @ApiModelProperty(value = "事故地点")
    private String accPlace;
    @ApiModelProperty(value = "事故说明")
    private String accExplain;
    @ApiModelProperty(value = "我方情况")
    private String weSituation;
    @ApiModelProperty(value = "处理结果")
    private String result;
    @ApiModelProperty(value = "对方情况")
    private String otherSituation;
    @ApiModelProperty(value = "我方承担金额")
    private double weAmount;
    @ApiModelProperty(value = "对方承担金额")
    private double otherAmount;
    @ApiModelProperty(value = "保险金额")
    private double insAmount;
    @ApiModelProperty(value = "备注")
    private String remarks;
}
